package com.sskj.trafficcontrol.dao;

import com.sskj.trafficcontrol.model.pojo.TcUser;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author zhao kuo
 * @date 2019-01-29
 */

@Mapper
@Repository
public interface TcUserDAO {
    int deleteByPrimaryKey(Integer id);

    void insertSelective(TcUser record);

    void insertBatch(List<TcUser> records);

    TcUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TcUser record);

    int updateByPrimaryKey(TcUser record);

    TcUser checkLogin(TcUser user);
}